<script setup lang="ts">
/**
 * 和普通的el-card没有什么区别,只是设定了一个bodyStyle
 */
const attrs = useAttrs()
</script>

<template>
  <el-card class="my-color" body-style="padding:0.2em 0.2em;" v-bind="attrs">
    <slot/>
  </el-card>
</template>

<style scoped lang="scss">
.my-color {
  //background-image: radial-gradient(circle, rgba(227, 232, 236, 0.33), rgba(239, 241, 243, 0.33));
  //background-image: radial-gradient(circle, rgba(37, 115, 178, 0.33), rgba(210, 211, 211, 0.33));
}
</style>